package com.higold.cloud.mvp.contract

import com.higold.cloud.base.IBaseView
import com.higold.cloud.base.IPresenter
import com.higold.cloud.mvp.model.bean.regionalList.RegionalList

/**
 *    author : lxz
 *    date   : 2019/9/2 15:21
 *    desc   :
 */
interface RegionalContract {

    interface View : IBaseView {
        /**
         * 设置大区业务员（当月列表）的数据
         */
        fun setRegionalList(regionalList: RegionalList)

        fun showError(errorMsg: String, errorCode: Int)
    }


    interface Presenter : IPresenter<View> {
        /**
         * 获取 大区业务员（当月列表）
         */
        fun requestRegionalList()
    }
}